﻿using System;
using System.Collections.Generic;
using System.Text;
using FingerPrintRecognizer.Common;

namespace RecognitionAlgorithm.CORE
{
    class BarmudaTriangleAlgorithm: IFPRAlgorighm
    {
        const string desc = "This Plugin is a implementation of IFPRAlgorithm interface. \r\n This is to show that one assembly can contain two plugin";
        const string name = "বারমুডা Triangle";
        const string author = "মোঃ সাইদুল ইসলাম";
        const string website = "www.barmuda-triangle.com";
        const int majorVersion = 0;
        const int minorVersion = 9;

        #region IFPRAlgorighm Members

        public byte[] getExtractedData(byte[] img)
        {
            throw new NotImplementedException();
        }

        public float getMatchRatio(byte[] data1, byte[] data2)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IPlugin Members

        public void pluginLoaded()
        {
            throw new NotImplementedException();
        }

        public PluginInfo getPluginInfo()
        {
            PluginInfo pi = new PluginInfo
            {
                PluginName = name,
                PluginAuthor = author,
                Website = website,
                Description = desc,
                Type = PluginInfo.PluginType.FRAlgorithm,
                Version = String.Format("{0}.{1}", majorVersion, minorVersion)
            };
            return pi;
        }

        #endregion
    }
}
